import Vue from 'vue'
import { Button } from 'vant'
import { NavBar } from 'vant'
import { Form } from 'vant'
import { Field } from 'vant'
import { Toast } from 'vant'
import { Tabbar, TabbarItem } from 'vant'
import { Icon } from 'vant'
import { Image as VanImage } from 'vant'
import { Col, Row } from 'vant'
import { Cell, CellGroup } from 'vant'
import { Dialog } from 'vant'
import { ActionSheet } from 'vant'
import { Popup } from 'vant'
import { DatetimePicker } from 'vant'
import { Uploader } from 'vant'
import { Tab, Tabs } from 'vant'
import { List } from 'vant'
import { Grid, GridItem } from 'vant'
import { PullRefresh } from 'vant'
import { Search } from 'vant'
import { Swipe, SwipeItem } from 'vant'
import { Lazyload } from 'vant'
import { Badge } from 'vant'
import { Divider } from 'vant'

Vue.use(Divider)

Vue.use(Badge)

Vue.use(Lazyload)
// 注册时可以配置额外的选项
Vue.use(Lazyload, {
  lazyComponent: true
})

Vue.use(Swipe)
Vue.use(SwipeItem)

Vue.use(Search)

Vue.use(PullRefresh)

Vue.use(Grid)
Vue.use(GridItem)

Vue.use(List)

Vue.use(Tab)
Vue.use(Tabs)

Vue.use(Uploader)

Vue.use(DatetimePicker)

Vue.use(Popup)

Vue.use(ActionSheet)

Vue.use(Dialog)

Vue.use(Cell)
Vue.use(CellGroup)

Vue.use(Col)
Vue.use(Row)

Vue.use(VanImage)

Vue.use(Icon)

Vue.use(Tabbar)
Vue.use(TabbarItem)

Vue.use(Toast)

Vue.use(Form)
Vue.use(Field)

Vue.use(NavBar)
Vue.use(Button)
